package com.xuecheng.api.sys.dictionary;

import com.xuecheng.framework.domain.system.SysDictionary;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@Api(value = "数据字典", tags = {"数据字典接口,提供数据字典的管理,查询接口"})
public interface SystemDictionaryControllerApi {
    /**
     * 根据type查询数据字典
     * @param type 类型
     * @return 结果
     */
    @ApiOperation(value = "根据type查询数据字典")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "数据字典类型",name = "type",paramType = "path",required = true)
    })
    SysDictionary findByType(String type);
}
